#include "GameObject.h"
#include "Scene.h"
#include "Graphics.h"

GameObject::GameObject(void)
{
	Scene* scene = Graphics::GetGraphics()->GetScene();
	mNode = scene->CreateNode(NULL);
}

GameObject::~GameObject(void)
{
	Scene* scene = Graphics::GetGraphics()->GetScene();
	scene->DeleteNode(mNode);
}

bool GameObject::Update( float dt )
{
	return true;
}

void GameObject::OnSelect()
{
	
}
